<!--
       /*
 *Programa ShopCommerce
 * Versão 1.0 
 * Classe Clientes
  */
-->
<?php
include 'menuADM.php';
include_once '../Classes/Cargo.php';
include_once '../Classes/Conexao.php';
$funcionario = new Cargo();
$conexao = new Conexao("127.0.0.1", "root", "root"); //instanciando um objeto e passando parametros
$conexao->Conectar(); //Conexao com o bd
?>



<div id="cadastroDiv">

    <form action="InserirFunc.php" method="post" >
        <table>
            <td>Nome:&emsp13;&emsp13;&emsp13;&emsp13;&emsp13;&emsp13;&emsp13;&emsp13;<input type="text" name="nome" value="" size="15"/></td>
            <tr></tr>
            <td> Sobrenome:<input type="text" name="sobrenome" value="" size="15"/></td>
            <tr></tr>
            <td>Nascimento:<input type="date" name="data" value="" size="10" title="Exemplo 01/01/1999" MAXLENGTH="10" onblur="validaDat(this, this.value);"/>Sexo:<select name="sexo">
                    <option value="masculino">M</option>
                    <option value="feminino">F</option></select></td><tr></tr>
          
            <tr>  
                <td>Email:&emsp13;&emsp13;&emsp13;&emsp13;&emsp13;&emsp13;&emsp13;&emsp13;&emsp13;<input type="email" title="exemplo@exemplo.com" name="email" id="email" value=""></td><tr></tr>


            <td>Cargo:&emsp13;&emsp13;&emsp13;&emsp13;&emsp13;&emsp13;&emsp13;&emsp13;<select name="cargo"><? $funcionario->selectCargo(); ?></td>
            <tr></tr>


            <tr></tr>
            <td>Senha:&emsp13;&emsp13;&emsp13;&emsp13;&emsp13;&emsp13;&emsp13;<input type="password" name="senha" id="senha" size="8" />Confirme:<input type="password" name="senhaConfirma" size="8" onblur="validaSenha(this)"/></td>
            <tr></tr>
            <td><input type="submit" value="Cadastrar" /><input type="reset" value="Limpar Campos"></td>
        </table>


    </form>


</div>
<?php //include'../rodape.php'; ?>